package com.yonyou.brigade.third_parties.third.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-08-16
 */
@TableName("bri_group")
public class BriGroup extends Model<BriGroup> {

    private static final long serialVersionUID = 1L;

    /**
     * 组ID，主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 组名称
     */
    private String name;
    /**
     * 备注
     */
    private String note;
    /**
     * 租户id
     */
    private String tenant;

    @TableField("org_pk")
    private String orgPk;
    /**
     * 携程同步用户的时候是否过滤掉
     */
    @TableField("filter_ctrip")
    private Integer filterCtrip;
    /**
     * 中兴同步用户的时候是否过滤掉
     */
    @TableField("filter_zteitc")
    private Integer filterZteitc;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public Integer getFilterCtrip() {
        return filterCtrip;
    }

    public void setFilterCtrip(Integer filterCtrip) {
        this.filterCtrip = filterCtrip;
    }

    public Integer getFilterZteitc() {
        return filterZteitc;
    }

    public void setFilterZteitc(Integer filterZteitc) {
        this.filterZteitc = filterZteitc;
    }

    public String getOrgPk() {
        return orgPk;
    }

    public void setOrgPk(String orgPk) {
        this.orgPk = orgPk;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String NOTE = "note";

    public static final String TENANT = "tenant";

    public static final String FILTER_CTRIP = "filter_ctrip";

    public static final String FILTER_ZTEITC = "filter_zteitc";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BriGroup{" +
        "id=" + id +
        ", name=" + name +
        ", note=" + note +
        ", tenant=" + tenant +
        ", filterCtrip=" + filterCtrip +
        ", filterZteitc=" + filterZteitc +
        ", ts=" + ts +
        "}";
    }
}
